package top.yuechenc.manage.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.yuechenc.manage.entity.SpPermissionApi;
import top.yuechenc.manage.mapper.SpPermissionApiMapper;
import top.yuechenc.manage.service.PermissionApiService;

@Service
public class PermissionApiServiceImpl implements PermissionApiService {
    @Autowired
    private SpPermissionApiMapper spPermissionApiMapper;

    @Override
    public SpPermissionApi getByPsId(String psId) {
        return spPermissionApiMapper.selectByPsId(psId);
    }
}
